﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using Xinchen.SOA.TestContracts;

namespace Xinchen.SOA.TestServer
{
    public class LogService : ApiController, ILogService
    {
        public string WriteLog(string msg)
        {
            return msg;
        }

        public string WriteLog1(string msg, string msg1)
        {
            return msg + msg1;
        }

        public class Test
        {
            public string Msg { get; set; }
            public string Msg1 { get; set; }
        }
        public string WriteLog2(Test test)
        {
            return test.Msg + test.Msg1;
        }
    }
}
